[INFO] cloning repository https://github.com/erduotong/RustyCalc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erduotong/RustyCalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8537f1346f8b619f15282586ff68913959626f95
[INFO] checking erduotong/RustyCalc against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferduotong%2FRustyCalc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/erduotong/RustyCalc
[INFO] finished tweaking git repo https://github.com/erduotong/RustyCalc
[INFO] tweaked toml for git repo https://github.com/erduotong/RustyCalc written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/erduotong/RustyCalc on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/erduotong/RustyCalc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9
[INFO] running `Command { std: "docker" "start" "0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking rusty_calc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     name: String,
[INFO] [stdout]    |           ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     variables: HashMap<String, Types>,
[INFO] [stdout]    |                        ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn new(name: String) -> Box<Calculator> {
[INFO] [stdout]    |                  ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn calculate(&mut self, input: &String) {}
[INFO] [stdout]    |                                     ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let args: Vec<String> = env::args().collect();
[INFO] [stdout]    |                   ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module `String` in this scope
[INFO] [stdout]   --> src/main.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let input = String::from("1+2");
[INFO] [stdout]    |                 ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0573.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_calc` (bin "rusty_calc") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     name: String,
[INFO] [stdout]    |           ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     variables: HashMap<String, Types>,
[INFO] [stdout]    |                        ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn new(name: String) -> Box<Calculator> {
[INFO] [stdout]    |                  ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn calculate(&mut self, input: &String) {}
[INFO] [stdout]    |                                     ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let args: Vec<String> = env::args().collect();
[INFO] [stdout]    |                   ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module `String` in this scope
[INFO] [stdout]   --> src/main.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let input = String::from("1+2");
[INFO] [stdout]    |                 ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0573.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_calc` (bin "rusty_calc" test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9", kill_on_drop: false }`
[INFO] [stdout] 0771a4adbd28902282e4bc7c2daa05a38a0cc28f0c1dc0261e9bfb031454b5a9
